package com.flow.demo.module.gd.controller.app.list.vo;

import lombok.*;

import java.time.LocalDate;
import io.swagger.v3.oas.annotations.media.Schema;
import com.flow.demo.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static com.flow.demo.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
import static com.flow.demo.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户获奖名单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ListPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "30977")
    private Integer gdUserId;

    @Schema(description = "奖品id", example = "6248")
    private Integer gdGoodId;

    @Schema(description = "获奖日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] date;

    @Schema(description = "是否领取 0未领取 1领取")
    private Integer receive;

}
